package com.campus.delivery.vo.oss;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("阿里云OSS临时访问凭证VO")
@Data
public class OssStsVo {
    @ApiModelProperty("AccessKeyId，临时访问凭证的AccessKeyId")
    private String accessKeyId;

    @ApiModelProperty("AccessKeySecret，临时访问凭证的AccessKeySecret")
    private String accessKeySecret;

    @ApiModelProperty("SecurityToken，临时访问凭证的安全Token")
    private String securityToken;

    @ApiModelProperty("Expiration，临时访问凭证的过期时间，格式为ISO8601")
    private String expiration;

    @ApiModelProperty("请求ID")
    private String requestId;

    @ApiModelProperty("是否成功")
    private Boolean success;

    @ApiModelProperty("错误码，失败时返回")
    private String errorCode;

    @ApiModelProperty("错误信息，失败时返回")
    private String errorMessage;

    @ApiModelProperty("bucket名字")
    private String bucket;

    @ApiModelProperty("地区")
    private String region;

}
